import request from '@/utils/request'

// 查询路面压实度试验检测报告(钻芯法)列表
export function listLmysdbgBsInfo(query) {
  return request({
    url: '/report_ljlm/lmysdbgBsInfo/list',
    method: 'get',
    params: query
  })
}

// 查询路面压实度试验检测报告(钻芯法)详细
export function getLmysdbgBsInfo(excelId) {
  return request({
    url: '/report_ljlm/lmysdbgBsInfo/' + excelId,
    method: 'get'
  })
}

// 新增路面压实度试验检测报告(钻芯法)
export function addLmysdbgBsInfo(data) {
  return request({
    url: '/report_ljlm/lmysdbgBsInfo',
    method: 'post',
    data: data
  })
}

// 修改路面压实度试验检测报告(钻芯法)
export function updateLmysdbgBsInfo(data) {
  return request({
    url: '/report_ljlm/lmysdbgBsInfo',
    method: 'put',
    data: data
  })
}

// 删除路面压实度试验检测报告(钻芯法)
export function delLmysdbgBsInfo(excelId) {
  return request({
    url: '/report_ljlm/lmysdbgBsInfo/' + excelId,
    method: 'delete'
  })
}

// 获取检测结论
export function queryJcjl(data) {
  return request({
    url: "/report_ljlm/lmysdbgBsInfo/jcjl",
    method: "put",
    data: data
  });
}
